<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--   <form method="post" action="checkUserServlet">-->
   <form method="post" action="httpServletRequest2">
       用户名:<input type="text" name="userName" /> <br>
       密  码:<input type="password" name="password" /> <br>
       爱  好:<input type="checkbox" name="hobby" value="1"> 睡觉
             <input type="checkbox" name="hobby" value="2"> 打游戏
             <input type="checkbox" name="hobby" value="3"> 吃
             <input type="checkbox" name="hobby" value="4"> 喝 <br>
       <input type="submit" value="校验"/>
   </form>
</body>
</html>